<?php
/**
 * @package    com.promobico.mvm
 * @subpackage mvm
 * components/com_mvm/mvm.php
 * @link promobico.com
 * @license   All rights reserved.
*/
 
// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
 
require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_virtuemart'.DS.'virtuemart.cfg.php');

// Require the base controller
require_once (JPATH_COMPONENT.DS.'controller.php');

// Create the controller
$controller = MvmController::getInstance("Mvm");

// Perform the Request task
$controller->execute( JRequest::getCmd('task'));

// Redirect if set by the controller
$controller->redirect();

 